/**
 * ClassName: airExer01
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author xiao_qi
 * @Create 2023/11/27 19:31
 * @Version 1.0
 */
/*

案例2：为抵抗洪水，战士连续作战89小时，编程计算共多少天零多少小时？
*/
public class airExer01 {
    public static void main(String[] args){
        int hours=89;
        int day=89/24;
        int hour=89%24;
        System.out.println("共奋战了"+day+"天"+hour+"小时");

        System.out.println("5+5="+5+5);
        System.out.println("5+5="+(5+5));

        byte bb1 = 127;
        bb1++;
        System.out.println("bb1 = " + bb1);//超出阈值 byte 127
        int i = 1;
        int j = i++ + ++i * i++;

        System.out.println("j = " + j);//10
    }
}
